package com.lesserpand.rabbitmq.netty.entity;

import java.io.Serializable;

/**
 * @author bailuo
 * @version 2.0
 * @Description TODO
 * @Date Created in 2019/1/23 11:42
 */
public class CustomProtocol implements Serializable {
    private static final long serialVersionUID = -2456319582106028481L;
    private long id;
    private String content;

    public CustomProtocol() {
    }

    public CustomProtocol(long id, String content) {
        this.id = id;
        this.content = content;
    }

    public long getId() {
        return id;
    }

    public void setId(long id) {
        this.id = id;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }
}
